﻿using OASystem.DAL;
using OASystem.Model;
using OASystem.ViewModel;

namespace OASystem.BLL.IService
{
    public interface IDocument_wait : IBaseRepository<Handle>, IDenpendecy
    {
        /// <summary>
        /// 显示列表
        /// </summary>
        /// <param name="UserId">当前用户登录名</param>
        /// <param name="oneer">发布人</param>
        /// <param name="TaskTiltle">任务标题</param>
        /// <param name="CompletionTime">发布时间</param>
        /// <returns></returns>
        ResponseResult Display(int UserId, string oneer, string TaskTiltle, string CompletionTime);

        /// <summary>
        /// 完成状态
        /// </summary>
        /// <param name="id">所选行ID</param>
        /// <param name="status">修改后的状态</param>
        /// <returns></returns>
        ResponseResult Updater(int id, int status);
    }
}
